<template>
    <el-container>
        <!--  侧边栏容器 -->
        <el-aside width="auto">
            <left-menu></left-menu>
        </el-aside>
        <el-container>
            <!--  头部容器 -->
            <el-header>
                <top-header></top-header>
            </el-header>
            <!--  主要区域容器 -->
            <el-main>
                <!-- <h1>Main</h1> -->
                 <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>
<script>
import LeftMenu from '@/components/LeftMenu'
import TopHeader from '@/components/TopHeader'
export default {
    components: {
        LeftMenu,
        TopHeader
    },
    data() {
        return {}
    },
}
</script>
<style>
.el-container {
    height: 100%;
}

.el-header {
    background-color: #EDEDED;
    ;
    color: #333;
}

.el-aside {
    background-color: #2a3f54;
    color: #333;
}

.el-main {
    background-color: #F7F7F7;
    color: #333;
}
</style>